From e42c29ca98c9a6316d5fe9158514ec0d0db52f9b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 14 Jul 2010 16:01:45 +0100 Subject: [PATCH] gail-util: Constify gchar argument And avoid a compiler warning. https://bugzilla.gnome.org/show_bug.cgi?id=624349 --- modules/other/gail/libgail-util/gailmisc.c | 2 +- modules/other/gail/libgail-util/gailmisc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/other/gail/libgail-util/gailmisc.c b/modules/other/gail/libgail-util/gailmisc.c index 81b1382199..349478ed28 100644 --- a/modules/other/gail/libgail-util/gailmisc.c +++ b/modules/other/gail/libgail-util/gailmisc.c @@ -195,7 +195,7 @@ gail_misc_add_attribute (AtkAttributeSet *attrib_set, AtkAttributeSet* gail_misc_layout_get_run_attributes (AtkAttributeSet *attrib_set, PangoLayout *layout, - gchar *text, + const gchar *text, gint offset, gint *start_offset, gint *end_offset) diff --git a/modules/other/gail/libgail-util/gailmisc.h b/modules/other/gail/libgail-util/gailmisc.h index eaece96507..f430b3c334 100644 --- a/modules/other/gail/libgail-util/gailmisc.h +++ b/modules/other/gail/libgail-util/gailmisc.h @@ -32,7 +32,7 @@ AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set AtkAttributeSet* gail_misc_layout_get_run_attributes (AtkAttributeSet *attrib_set, PangoLayout *layout, - gchar *text, + const gchar *text, gint offset, gint *start_offset, gint *end_offset); -- 2.30.2